/* $Header: kbd_ui.h,v 2.2 01/10/02 10:30:26 przybyls Exp $ */

/***********************************************************************/
/* INCLUDE FILE NAME:  kbd_ui.h                                        */
/* ==================                                                  */
/*                                                                     */
/* Author:  Tom Przybylski                                             */
/*                                                                     */
/* COMMENT:                                                            */
/*                                                                     */
/*                                                                     */
/*                                                                     */
/*                                                                     */
/***********************************************************************/

#ifndef KBDUI_H
#define KBDUI_H

/*****************************/
/*   IFDEFS                  */
/*****************************/


/*****************************/
/*   SYMBOLIC CONSTANTS      */
/*****************************/


/*****************************/
/*   MACROS                  */
/*****************************/


/*****************************/
/*   TYPEDEFS                */
/*****************************/


/*****************************/
/*   FUNCTION PROTOTYPES     */
/*****************************/

void     SetDataCommKeycode (BIT8 byte);
U_INT16  GetKeyHistory (BIT8 *p_resp_parm);

void     SetKeyClickEnabled (BIT8 status);
BIT8     GetKeyClickEnabled (void);

void     SetSetptBeepEnabled (BIT8 status);
BIT8     GetSetptBeepEnabled (void);

LANGUAGE GetLanguage (void);
UI_ERR   SetLanguage (LANGUAGE language);

BIT8     GetRadix (void);
UI_ERR   SetRadix (BIT8 radix);

BIT8     IsSequenceState (U_INT8 state);
BIT8     SeqNotLocked (void);

void     SetSequenceLock (void);
BIT8     GetSequenceLock (void);           /* TRUE = Locked */
void     ClearSequenceLock (void);
void     SetStartRunLock (void);
BIT8     GetStartRunLock (void);           /* TRUE = Locked */
void     ClearStartRunLock (void);
void     SeqSetStartRunLock (void);
void     SeqRestoreStartRunLock (void);
void     SetRemoteStartLock (void);
BIT8     GetRemoteStartLock (void);        /* TRUE = Locked */
void     ClearRemoteStartLock (void);
void     SetDataCommKeyboardLock (void);
BIT8     GetDataCommKeyboardLock (void);   /* TRUE = Locked */
void     ClearDataCommKeyboardLock (void);
void     SetClockTableLock (void);   /* Lockout clock table completely */
BIT8     GetClockTableLock (void);   /* TRUE = Locked */
void     ClearClockTableLock (void);
void     SetClockTableSeqLock (void); /* Lockout clock table execution */
BIT8     GetClockTableSeqLock (void);   /* TRUE = Locked */
void     ClearClockTableSeqLock (void);
void     SetLSMSeqLock (void);   /* Lockout load/store/method/clock tbl/sequence keys */
BIT8     GetLSMSeqLock (void);   /* TRUE = Locked */
void     ClearLSMSeqLock (void);

void     ForceKeyboardDisplayRefresh (void);

#endif
